Skip to content

Enable Recent Files#62

Merged
PaulJonasJost merged 1 commit intodevelopfrom
recent_files
Jan 29, 2025
Merged

Enable Recent Files#62
PaulJonasJost merged 1 commit intodevelopfrom
recent_files

Conversation

@PaulJonasJost
Copy link
Copy Markdown
Collaborator

Tracks the ten most recent files and enables opening them with overwrite

Copy link
Copy Markdown
Collaborator

@fbergmann fbergmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works as intended

"""Create a menu for the tool bar."""
self.tool_bar_menu.clear()
for idx, file_path in enumerate(self.recent_files):
action = QAction(file_path, self.tool_bar_menu)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the only comment I have, is whether we really want the full file path in the name, I'd rather have the full path on hover, but something unique and shorter before. But it is fine as is

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agreed, would be good. will add an issue

@PaulJonasJost PaulJonasJost merged commit b2e0f5f into develop Jan 29, 2025
@PaulJonasJost PaulJonasJost deleted the recent_files branch January 29, 2025 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants